﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;

namespace ProfileCare
{
    public partial class frmExcludedDirs : Form
    {
        public frmExcludedDirs(ArrayList excludedDirList)
        {
            InitializeComponent();
            fillTextBox(excludedDirList);
        }

        void fillTextBox(ArrayList excludedDirList)
        {
            foreach (string folder in excludedDirList)
            {
                tbExclusionList.AppendText(folder + Environment.NewLine);
            }
        }

        private void buttonOk_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
